getEnum

abstract fun getEnum(block: DesignBlock, property: String): String

Get the value of an enum property of the given design block.

Return

the value of the property.

Parameters

block

the block whose property should be queried.

property

the name of the property to get.